package com.wisecoach.gatewayplus.event;

import java.util.Date;

/**
 * {@code @author:} wisecoach
 * {@code @date:} 2023/6/16 下午2:37
 * {@code @version:} 1.0.0
 */


public class NoOpProgressRecorder implements ProgressRecorder {

    @Override
    public void record(FilteredBlockEventListener listener) {

    }

    @Override
    public ProgressRecord load(FilteredBlockEventListener listener) {
        return new ProgressRecord(0, new Date(), listener.getName(), listener.getChannelName());
    }
}
